ReadOnlyPoint
ceramic.ReadOnlyPoint (Abstract)
A read-only view of a Point that prevents modification.
ReadOnlyPoint provides access to x, y, and z coordinates without allowing changes. This is useful for exposing point data that should not be modified by consumers.
Example usage:
var position = new Point(100, 200);
var readOnly:ReadOnlyPoint = position;
trace(readOnly.x); // 100 - OK
// readOnly.x = 150; // Compile error!
See: Point
Type Conversions
From:
[ceramic.Point](/api-docs/clay-native/ceramic/Point/)
Metadata
Name | Parameters |
---|---|
:structInit |
- |
:allow |
ceramic.Screen |