connected-spaces-platform.unity.core 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
- package/Editor.meta +1 -1
- package/README.md +1 -1
- package/README.md.meta +1 -1
- package/Source/CSPFoundation.cs.meta +1 -1
- package/Source/ClientUserAgent.cs.meta +1 -1
- package/Source/Common/Array.cs.meta +1 -1
- package/Source/Common/CancellationToken.cs.meta +1 -1
- package/Source/Common/FileExtensions.cs.meta +1 -1
- package/Source/Common/List.cs.meta +1 -1
- package/Source/Common/Map.cs.meta +1 -1
- package/Source/Common/MimeTypeHelper.cs.meta +1 -1
- package/Source/Common/MimeTypes.cs.meta +1 -1
- package/Source/Common/Variant.cs.meta +1 -1
- package/Source/Common/VariantType.cs.meta +1 -1
- package/Source/Common/Vector2.cs.meta +1 -1
- package/Source/Common/Vector3.cs.meta +1 -1
- package/Source/Common/Vector4.cs.meta +1 -1
- package/Source/Common.meta +1 -1
- package/Source/Constants.cs.meta +1 -1
- package/Source/Csp.cs.meta +1 -1
- package/Source/EThirdPartyPlatform.cs.meta +1 -1
- package/Source/EndpointURIs.cs.meta +1 -1
- package/Source/Il2cppPreserver.cs.meta +1 -1
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
- package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
- package/Source/Multiplayer/ComponentType.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs +1 -0
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +65 -0
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces.meta +1 -1
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs +1 -0
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +63 -0
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components.meta +1 -1
- package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationSystem.cs +80 -3
- package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation.meta +1 -1
- package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
- package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
- package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
- package/Source/Multiplayer/ESequenceUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
- package/Source/Multiplayer/EventBus.cs +222 -0
- package/Source/Multiplayer/EventBus.cs.meta +11 -0
- package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
- package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
- package/Source/Multiplayer/MaterialChangedParams.cs +124 -0
- package/Source/Multiplayer/MaterialChangedParams.cs.meta +11 -0
- package/Source/Multiplayer/MultiplayerConnection.cs +0 -410
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValue.cs +13 -13
- package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValueType.cs +1 -1
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
- package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
- package/Source/Multiplayer/Script.meta +1 -1
- package/Source/Multiplayer/SequenceChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SequenceHotspotChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
- package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
- package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
- package/Source/Multiplayer.meta +1 -1
- package/Source/NativeClassWrapper.cs.meta +1 -1
- package/Source/ProgressEventArgs.cs.meta +1 -1
- package/Source/Ref.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
- package/Source/Systems/Analytics.meta +1 -1
- package/Source/Systems/Assets/Asset.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetSystem.cs +392 -0
- package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
- package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/EAlphaMode.cs +24 -0
- package/Source/Systems/Assets/EAlphaMode.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetType.cs +1 -0
- package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
- package/Source/Systems/Assets/EShaderType.cs +21 -0
- package/Source/Systems/Assets/EShaderType.cs.meta +11 -0
- package/Source/Systems/Assets/ETextureResourceType.cs +24 -0
- package/Source/Systems/Assets/ETextureResourceType.cs.meta +11 -0
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/GLTFMaterial.cs +516 -0
- package/Source/Systems/Assets/GLTFMaterial.cs.meta +11 -0
- package/Source/Systems/Assets/GLTFMaterialResult.cs +83 -0
- package/Source/Systems/Assets/GLTFMaterialResult.cs.meta +11 -0
- package/Source/Systems/Assets/GLTFMaterialsResult.cs +83 -0
- package/Source/Systems/Assets/GLTFMaterialsResult.cs.meta +11 -0
- package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
- package/Source/Systems/Assets/LODChain.cs.meta +1 -1
- package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
- package/Source/Systems/Assets/Material.cs +149 -0
- package/Source/Systems/Assets/Material.cs.meta +11 -0
- package/Source/Systems/Assets/TextureInfo.cs +383 -0
- package/Source/Systems/Assets/TextureInfo.cs.meta +11 -0
- package/Source/Systems/Assets/UriResult.cs.meta +1 -1
- package/Source/Systems/Assets.meta +1 -1
- package/Source/Systems/BooleanResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
- package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce.meta +1 -1
- package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
- package/Source/Systems/EResultCode.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
- package/Source/Systems/GraphQL.meta +1 -1
- package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroup.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs +83 -6
- package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs.meta +1 -1
- package/Source/Systems/HotspotSequence.meta +1 -1
- package/Source/Systems/Log/LogLevel.cs.meta +1 -1
- package/Source/Systems/Log/LogSystem.cs.meta +1 -1
- package/Source/Systems/Log.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
- package/Source/Systems/Maintenance.meta +1 -1
- package/Source/Systems/NullResult.cs.meta +1 -1
- package/Source/Systems/Organizations/EOrganizationRole.cs.meta +1 -1
- package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs.meta +1 -1
- package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs.meta +1 -1
- package/Source/Systems/Organizations/Organization.cs.meta +1 -1
- package/Source/Systems/Organizations/OrganizationResult.cs.meta +1 -1
- package/Source/Systems/Organizations/OrganizationRoleInfo.cs.meta +1 -1
- package/Source/Systems/Organizations/OrganizationRolesResult.cs.meta +1 -1
- package/Source/Systems/Organizations/OrganizationSystem.cs.meta +1 -1
- package/Source/Systems/Organizations.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
- package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
- package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
- package/Source/Systems/Quota/TierNames.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
- package/Source/Systems/Quota.meta +1 -1
- package/Source/Systems/ResultBase.cs.meta +1 -1
- package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
- package/Source/Systems/Script.meta +1 -1
- package/Source/Systems/Sequence/Sequence.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceResult.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceSystem.cs +71 -1
- package/Source/Systems/Sequence/SequenceSystem.cs.meta +1 -1
- package/Source/Systems/Sequence/SequencesResult.cs.meta +1 -1
- package/Source/Systems/Sequence.meta +1 -1
- package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
- package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
- package/Source/Systems/Settings.meta +1 -1
- package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Site.cs.meta +1 -1
- package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Space.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces.meta +1 -1
- package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
- package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterestSystem.cs +2 -1
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
- package/Source/Systems/Spatial.meta +1 -1
- package/Source/Systems/StringArrayResult.cs.meta +1 -1
- package/Source/Systems/StringResult.cs.meta +1 -1
- package/Source/Systems/SystemBase.cs +75 -2
- package/Source/Systems/SystemBase.cs.meta +1 -1
- package/Source/Systems/SystemsManager.cs +16 -0
- package/Source/Systems/SystemsManager.cs.meta +1 -1
- package/Source/Systems/UInt64Result.cs.meta +1 -1
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
- package/Source/Systems/Users/ELoginState.cs.meta +1 -1
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
- package/Source/Systems/Users/LoginState.cs.meta +1 -1
- package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
- package/Source/Systems/Users/Profile.cs.meta +1 -1
- package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
- package/Source/Systems/Users/UserSystem.cs +72 -0
- package/Source/Systems/Users/UserSystem.cs.meta +1 -1
- package/Source/Systems/Users.meta +1 -1
- package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
- package/Source/Systems/Voip.meta +1 -1
- package/Source/Systems.meta +1 -1
- package/Source/Web/EResponseCodes.cs.meta +1 -1
- package/Source/Web.meta +1 -1
- package/Source/WrapperHelper.cs.meta +1 -1
- package/Source.meta +1 -1
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +1 -1
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
- package/android64.meta +1 -1
- package/ios/libConnectedSpacesPlatform.a +0 -0
- package/ios/libConnectedSpacesPlatform.a.meta +1 -1
- package/ios/libcrypto.a.meta +1 -1
- package/ios/libssl.a.meta +1 -1
- package/ios.meta +1 -1
- package/macosx/libConnectedSpacesPlatform.dylib +0 -0
- package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
- package/macosx.meta +1 -1
- package/package.json +1 -1
- package/package.json.meta +1 -1
- package/visionos/libConnectedSpacesPlatform.a +0 -0
- package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
- package/visionos/libcrypto.a.meta +1 -1
- package/visionos/libssl.a.meta +1 -1
- package/visionos.meta +1 -1
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
- package/windows.meta +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
+
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
+
|
|
4
|
+
#nullable enable annotations
|
|
5
|
+
|
|
6
|
+
using System;
|
|
7
|
+
using System.Collections.Generic;
|
|
8
|
+
using System.Reflection;
|
|
9
|
+
using System.Runtime.InteropServices;
|
|
10
|
+
using System.Security;
|
|
11
|
+
using System.Threading.Tasks;
|
|
12
|
+
|
|
13
|
+
namespace Csp.Systems
|
|
14
|
+
{
|
|
15
|
+
/// @ingroup Asset System
|
|
16
|
+
/// <summary>Data class used to contain information when attempting to download a collection of material data.</summary>
|
|
17
|
+
|
|
18
|
+
public class GLTFMaterialsResult : Csp.Systems.ResultBase, IDisposable
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_systems_GLTFMaterialsResult";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
[DllImport(Csp.Constants.DllName)]
|
|
28
|
+
[SuppressUnmanagedCodeSecurity]
|
|
29
|
+
static extern NativePointer csp_systems_GLTFMaterialsResult_GetGLTFMaterialsC_ArrayRC(IntPtr @class);
|
|
30
|
+
|
|
31
|
+
[DllImport(Csp.Constants.DllName)]
|
|
32
|
+
[SuppressUnmanagedCodeSecurity]
|
|
33
|
+
static extern void csp_systems_GLTFMaterialsResult_Dtor(IntPtr @class);
|
|
34
|
+
|
|
35
|
+
#pragma warning restore IDE1006
|
|
36
|
+
#endregion
|
|
37
|
+
|
|
38
|
+
internal GLTFMaterialsResult(NativePointer ptr) : base(ptr) { }
|
|
39
|
+
|
|
40
|
+
public GLTFMaterialsResult(Csp.Systems.ResultBase baseInstance)
|
|
41
|
+
: base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
|
|
42
|
+
{
|
|
43
|
+
// Prevent previous instance from freeing underlying pointer when destroyed
|
|
44
|
+
baseInstance._ownsPtr = false;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/// <summary>Retreives the GLTFMaterial from the result.</summary>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
public Csp.Common.Array<Csp.Systems.GLTFMaterial> GetGLTFMaterials()
|
|
51
|
+
{
|
|
52
|
+
var _value = csp_systems_GLTFMaterialsResult_GetGLTFMaterialsC_ArrayRC(_ptr);
|
|
53
|
+
|
|
54
|
+
WrapperHelper.CheckNativePointer(_value);
|
|
55
|
+
var _result = new Csp.Common.Array<Csp.Systems.GLTFMaterial>(_value);
|
|
56
|
+
;
|
|
57
|
+
|
|
58
|
+
return _result;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
~GLTFMaterialsResult()
|
|
62
|
+
{
|
|
63
|
+
//RealDispose();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
void RealDispose()
|
|
67
|
+
{
|
|
68
|
+
if (_ownsPtr && !_disposed)
|
|
69
|
+
{
|
|
70
|
+
csp_systems_GLTFMaterialsResult_Dtor(_ptr);
|
|
71
|
+
_disposed = true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
_disposed = true;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
new public void Dispose()
|
|
78
|
+
{
|
|
79
|
+
RealDispose();
|
|
80
|
+
GC.SuppressFinalize(this);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
+
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
+
|
|
4
|
+
#nullable enable annotations
|
|
5
|
+
|
|
6
|
+
using System;
|
|
7
|
+
using System.Collections.Generic;
|
|
8
|
+
using System.Reflection;
|
|
9
|
+
using System.Runtime.InteropServices;
|
|
10
|
+
using System.Security;
|
|
11
|
+
using System.Threading.Tasks;
|
|
12
|
+
|
|
13
|
+
namespace Csp.Systems
|
|
14
|
+
{
|
|
15
|
+
/// @ingroup Asset System
|
|
16
|
+
/// <summary>Base class for a material.</summary>
|
|
17
|
+
|
|
18
|
+
public class Material : NativeClassWrapper, IDisposable
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_systems_Material";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
[DllImport(Csp.Constants.DllName)]
|
|
28
|
+
[SuppressUnmanagedCodeSecurity]
|
|
29
|
+
static extern IntPtr csp_systems_Material_GetNameC_StringRC(IntPtr @class);
|
|
30
|
+
|
|
31
|
+
[DllImport(Csp.Constants.DllName)]
|
|
32
|
+
[SuppressUnmanagedCodeSecurity]
|
|
33
|
+
static extern IntPtr csp_systems_Material_GetMaterialCollectionIdC_StringRC(IntPtr @class);
|
|
34
|
+
|
|
35
|
+
[DllImport(Csp.Constants.DllName)]
|
|
36
|
+
[SuppressUnmanagedCodeSecurity]
|
|
37
|
+
static extern IntPtr csp_systems_Material_GetMaterialIdC_StringRC(IntPtr @class);
|
|
38
|
+
|
|
39
|
+
[DllImport(Csp.Constants.DllName)]
|
|
40
|
+
[SuppressUnmanagedCodeSecurity]
|
|
41
|
+
static extern NativePointer csp_systems_Material_Ctor_StringRC_StringRC_StringRC(
|
|
42
|
+
string Name,
|
|
43
|
+
string MaterialCollectionId,
|
|
44
|
+
string MaterialId
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
[DllImport(Csp.Constants.DllName)]
|
|
48
|
+
[SuppressUnmanagedCodeSecurity]
|
|
49
|
+
static extern NativePointer csp_systems_Material_Ctor();
|
|
50
|
+
|
|
51
|
+
[DllImport(Csp.Constants.DllName)]
|
|
52
|
+
[SuppressUnmanagedCodeSecurity]
|
|
53
|
+
static extern void csp_systems_Material_Dtor(IntPtr @class);
|
|
54
|
+
|
|
55
|
+
#pragma warning restore IDE1006
|
|
56
|
+
#endregion
|
|
57
|
+
|
|
58
|
+
internal Material(NativePointer ptr) : base(ptr) { }
|
|
59
|
+
|
|
60
|
+
/// <summary>Gets the user-defined name of the material</summary>
|
|
61
|
+
/// <returns>Csp::common::string&</returns>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
public string GetName()
|
|
65
|
+
{
|
|
66
|
+
var _value = csp_systems_Material_GetNameC_StringRC(_ptr);
|
|
67
|
+
|
|
68
|
+
var _result = _value;
|
|
69
|
+
|
|
70
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
71
|
+
Global.Free(_result);
|
|
72
|
+
|
|
73
|
+
return _resultString;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/// <summary>Gets the collection id for the material</summary>
|
|
77
|
+
/// <returns>Const csp::common::string&</returns>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
public string GetMaterialCollectionId()
|
|
81
|
+
{
|
|
82
|
+
var _value = csp_systems_Material_GetMaterialCollectionIdC_StringRC(_ptr);
|
|
83
|
+
|
|
84
|
+
var _result = _value;
|
|
85
|
+
|
|
86
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
87
|
+
Global.Free(_result);
|
|
88
|
+
|
|
89
|
+
return _resultString;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/// <summary>Gets the id for the material</summary>
|
|
93
|
+
/// <returns>Const csp::common::string&</returns>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
public string GetMaterialId()
|
|
97
|
+
{
|
|
98
|
+
var _value = csp_systems_Material_GetMaterialIdC_StringRC(_ptr);
|
|
99
|
+
|
|
100
|
+
var _result = _value;
|
|
101
|
+
|
|
102
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
103
|
+
Global.Free(_result);
|
|
104
|
+
|
|
105
|
+
return _resultString;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/// <summary>Constructor which links the material to an asset</summary>
|
|
109
|
+
/// <param name="Name">The name of the material.</param>
|
|
110
|
+
/// <param name="MaterialCollectionId">The asset collection where the material info is stored</param>
|
|
111
|
+
/// <param name="MaterialId">The asset where the material info is stored</param>
|
|
112
|
+
|
|
113
|
+
public Material(string Name, string MaterialCollectionId, string MaterialId)
|
|
114
|
+
{
|
|
115
|
+
var np = csp_systems_Material_Ctor_StringRC_StringRC_StringRC(Name, MaterialCollectionId, MaterialId);
|
|
116
|
+
_ptr = np.Pointer;
|
|
117
|
+
_ownsPtr = np.OwnsOwnData;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public Material()
|
|
121
|
+
{
|
|
122
|
+
var np = csp_systems_Material_Ctor();
|
|
123
|
+
_ptr = np.Pointer;
|
|
124
|
+
_ownsPtr = np.OwnsOwnData;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
~Material()
|
|
128
|
+
{
|
|
129
|
+
//RealDispose();
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
void RealDispose()
|
|
133
|
+
{
|
|
134
|
+
if (_ownsPtr && !_disposed)
|
|
135
|
+
{
|
|
136
|
+
csp_systems_Material_Dtor(_ptr);
|
|
137
|
+
_disposed = true;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
_disposed = true;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public void Dispose()
|
|
144
|
+
{
|
|
145
|
+
RealDispose();
|
|
146
|
+
GC.SuppressFinalize(this);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
+
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
+
|
|
4
|
+
#nullable enable annotations
|
|
5
|
+
|
|
6
|
+
using System;
|
|
7
|
+
using System.Collections.Generic;
|
|
8
|
+
using System.Reflection;
|
|
9
|
+
using System.Runtime.InteropServices;
|
|
10
|
+
using System.Security;
|
|
11
|
+
using System.Threading.Tasks;
|
|
12
|
+
|
|
13
|
+
namespace Csp.Systems
|
|
14
|
+
{
|
|
15
|
+
/// @ingroup Asset System
|
|
16
|
+
/// <summary>Data class which represents a texture.</summary>
|
|
17
|
+
|
|
18
|
+
public class TextureInfo : NativeClassWrapper, IDisposable
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_systems_TextureInfo";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
[DllImport(Csp.Constants.DllName)]
|
|
28
|
+
[SuppressUnmanagedCodeSecurity]
|
|
29
|
+
static extern NativePointer csp_systems_TextureInfo_Ctor();
|
|
30
|
+
|
|
31
|
+
[DllImport(Csp.Constants.DllName)]
|
|
32
|
+
[SuppressUnmanagedCodeSecurity]
|
|
33
|
+
static extern NativePointer csp_systems_TextureInfo_Ctor_StringRC_StringRC(
|
|
34
|
+
string AssetCollectionId,
|
|
35
|
+
string AssetId
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
[DllImport(Csp.Constants.DllName)]
|
|
39
|
+
[SuppressUnmanagedCodeSecurity]
|
|
40
|
+
static extern NativePointer csp_systems_TextureInfo_Ctor_StringRC(string ComponentId);
|
|
41
|
+
|
|
42
|
+
[DllImport(Csp.Constants.DllName)]
|
|
43
|
+
[SuppressUnmanagedCodeSecurity]
|
|
44
|
+
static extern void csp_systems_TextureInfo_SetCollectionAndAssetId_void_StringRC_StringRC(
|
|
45
|
+
IntPtr @class,
|
|
46
|
+
IntPtr AssetCollectionId,
|
|
47
|
+
IntPtr AssetId
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
[DllImport(Csp.Constants.DllName)]
|
|
51
|
+
[SuppressUnmanagedCodeSecurity]
|
|
52
|
+
static extern IntPtr csp_systems_TextureInfo_GetAssetCollectionIdC_StringRC(IntPtr @class);
|
|
53
|
+
|
|
54
|
+
[DllImport(Csp.Constants.DllName)]
|
|
55
|
+
[SuppressUnmanagedCodeSecurity]
|
|
56
|
+
static extern IntPtr csp_systems_TextureInfo_GetAssetIdC_StringRC(IntPtr @class);
|
|
57
|
+
|
|
58
|
+
[DllImport(Csp.Constants.DllName)]
|
|
59
|
+
[SuppressUnmanagedCodeSecurity]
|
|
60
|
+
static extern void csp_systems_TextureInfo_SetEntityComponentId_void_StringRC(
|
|
61
|
+
IntPtr @class,
|
|
62
|
+
IntPtr ComponentId
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
[DllImport(Csp.Constants.DllName)]
|
|
66
|
+
[SuppressUnmanagedCodeSecurity]
|
|
67
|
+
static extern IntPtr csp_systems_TextureInfo_GetEntityComponentIdC_StringRC(IntPtr @class);
|
|
68
|
+
|
|
69
|
+
[DllImport(Csp.Constants.DllName)]
|
|
70
|
+
[SuppressUnmanagedCodeSecurity]
|
|
71
|
+
static extern Csp.Systems.ETextureResourceType csp_systems_TextureInfo_GetSourceTypeC_ETextureResourceType(
|
|
72
|
+
IntPtr @class
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
[DllImport(Csp.Constants.DllName)]
|
|
76
|
+
[SuppressUnmanagedCodeSecurity]
|
|
77
|
+
static extern void csp_systems_TextureInfo_SetUVOffset_void_Vector2(IntPtr @class, IntPtr Offset);
|
|
78
|
+
|
|
79
|
+
[DllImport(Csp.Constants.DllName)]
|
|
80
|
+
[SuppressUnmanagedCodeSecurity]
|
|
81
|
+
static extern NativePointer csp_systems_TextureInfo_GetUVOffsetC_Vector2(IntPtr @class);
|
|
82
|
+
|
|
83
|
+
[DllImport(Csp.Constants.DllName)]
|
|
84
|
+
[SuppressUnmanagedCodeSecurity]
|
|
85
|
+
static extern void csp_systems_TextureInfo_SetUVRotation_void_float(IntPtr @class, float Rotation);
|
|
86
|
+
|
|
87
|
+
[DllImport(Csp.Constants.DllName)]
|
|
88
|
+
[SuppressUnmanagedCodeSecurity]
|
|
89
|
+
static extern float csp_systems_TextureInfo_GetUVRotationC_float(IntPtr @class);
|
|
90
|
+
|
|
91
|
+
[DllImport(Csp.Constants.DllName)]
|
|
92
|
+
[SuppressUnmanagedCodeSecurity]
|
|
93
|
+
static extern void csp_systems_TextureInfo_SetUVScale_void_Vector2(IntPtr @class, IntPtr Scale);
|
|
94
|
+
|
|
95
|
+
[DllImport(Csp.Constants.DllName)]
|
|
96
|
+
[SuppressUnmanagedCodeSecurity]
|
|
97
|
+
static extern NativePointer csp_systems_TextureInfo_GetUVScaleC_Vector2(IntPtr @class);
|
|
98
|
+
|
|
99
|
+
[DllImport(Csp.Constants.DllName)]
|
|
100
|
+
[SuppressUnmanagedCodeSecurity]
|
|
101
|
+
static extern void csp_systems_TextureInfo_SetTexCoord_void_int(IntPtr @class, int Coord);
|
|
102
|
+
|
|
103
|
+
[DllImport(Csp.Constants.DllName)]
|
|
104
|
+
[SuppressUnmanagedCodeSecurity]
|
|
105
|
+
static extern int csp_systems_TextureInfo_GetTexCoordC_int(IntPtr @class);
|
|
106
|
+
|
|
107
|
+
[DllImport(Csp.Constants.DllName)]
|
|
108
|
+
[SuppressUnmanagedCodeSecurity]
|
|
109
|
+
static extern bool csp_systems_TextureInfo_IsSetC_bool(IntPtr @class);
|
|
110
|
+
|
|
111
|
+
[DllImport(Csp.Constants.DllName)]
|
|
112
|
+
[SuppressUnmanagedCodeSecurity]
|
|
113
|
+
static extern void csp_systems_TextureInfo_SetTexture_void_bool(IntPtr @class, bool Value);
|
|
114
|
+
|
|
115
|
+
[DllImport(Csp.Constants.DllName)]
|
|
116
|
+
[SuppressUnmanagedCodeSecurity]
|
|
117
|
+
static extern void csp_systems_TextureInfo_Dtor(IntPtr @class);
|
|
118
|
+
|
|
119
|
+
#pragma warning restore IDE1006
|
|
120
|
+
#endregion
|
|
121
|
+
|
|
122
|
+
internal TextureInfo(NativePointer ptr) : base(ptr) { }
|
|
123
|
+
|
|
124
|
+
/// <summary>Default constructor with SourceType set to ETextureResourceType::ImageAsset by default</summary>
|
|
125
|
+
|
|
126
|
+
public TextureInfo()
|
|
127
|
+
{
|
|
128
|
+
var np = csp_systems_TextureInfo_Ctor();
|
|
129
|
+
_ptr = np.Pointer;
|
|
130
|
+
_ownsPtr = np.OwnsOwnData;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/// <summary>Constructor which associates a texture with an asset, using ETextureResourceType::ImageAsset as it's source type</summary>
|
|
134
|
+
/// <param name="AssetCollectionId">The asset collection where the texture info is stored</param>
|
|
135
|
+
/// <param name="AssetId">The asset where the texture info is stored</param>
|
|
136
|
+
|
|
137
|
+
public TextureInfo(string AssetCollectionId, string AssetId)
|
|
138
|
+
{
|
|
139
|
+
var np = csp_systems_TextureInfo_Ctor_StringRC_StringRC(AssetCollectionId, AssetId);
|
|
140
|
+
_ptr = np.Pointer;
|
|
141
|
+
_ownsPtr = np.OwnsOwnData;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/// <summary>Constructor which associates a texture with a media component, using ETextureResourceType::Component as it's source type</summary>
|
|
145
|
+
/// <param name="ComponentId">The component id used as the texture data source</param>
|
|
146
|
+
|
|
147
|
+
public TextureInfo(string ComponentId)
|
|
148
|
+
{
|
|
149
|
+
var np = csp_systems_TextureInfo_Ctor_StringRC(ComponentId);
|
|
150
|
+
_ptr = np.Pointer;
|
|
151
|
+
_ownsPtr = np.OwnsOwnData;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/// <summary>Sets the textures asset collection id and asset id</summary>
|
|
155
|
+
/// <remarks>Uses ETextureResourceType::ImageAsset as it's source type</remarks>
|
|
156
|
+
/// <param name="AssetCollectionId">The asset collection where the texture info is stored</param>
|
|
157
|
+
/// <param name="AssetId">The asset where the texture info is stored</param>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
public void SetCollectionAndAssetId(string AssetCollectionId, string AssetId)
|
|
161
|
+
{
|
|
162
|
+
csp_systems_TextureInfo_SetCollectionAndAssetId_void_StringRC_StringRC(
|
|
163
|
+
_ptr,
|
|
164
|
+
WrapperHelper.StringToNativeUTF8(AssetCollectionId),
|
|
165
|
+
WrapperHelper.StringToNativeUTF8(AssetId)
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/// <summary>Gets the asset collection id for the texture</summary>
|
|
170
|
+
/// <returns>Csp::common::string&</returns>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
public string GetAssetCollectionId()
|
|
174
|
+
{
|
|
175
|
+
var _value = csp_systems_TextureInfo_GetAssetCollectionIdC_StringRC(_ptr);
|
|
176
|
+
|
|
177
|
+
var _result = _value;
|
|
178
|
+
|
|
179
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
180
|
+
Global.Free(_result);
|
|
181
|
+
|
|
182
|
+
return _resultString;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/// <summary>Gets the asset id for the texture</summary>
|
|
186
|
+
/// <returns>Csp::common::string&</returns>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
public string GetAssetId()
|
|
190
|
+
{
|
|
191
|
+
var _value = csp_systems_TextureInfo_GetAssetIdC_StringRC(_ptr);
|
|
192
|
+
|
|
193
|
+
var _result = _value;
|
|
194
|
+
|
|
195
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
196
|
+
Global.Free(_result);
|
|
197
|
+
|
|
198
|
+
return _resultString;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/// <summary>Sets the textures entity component id</summary>
|
|
202
|
+
/// <remarks>Format: {entity.id}-{component.id}</remarks>
|
|
203
|
+
/// <remarks>This can be obtained from ComponentBase::GetUniqueComponentId</remarks>
|
|
204
|
+
/// <param name="ComponentId">Const csp::common::string&</param>
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
public void SetEntityComponentId(string ComponentId)
|
|
208
|
+
{
|
|
209
|
+
csp_systems_TextureInfo_SetEntityComponentId_void_StringRC(
|
|
210
|
+
_ptr,
|
|
211
|
+
WrapperHelper.StringToNativeUTF8(ComponentId)
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/// <summary>Gets the entity component id</summary>
|
|
216
|
+
/// <returns>Csp::common::string&</returns>
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
public string GetEntityComponentId()
|
|
220
|
+
{
|
|
221
|
+
var _value = csp_systems_TextureInfo_GetEntityComponentIdC_StringRC(_ptr);
|
|
222
|
+
|
|
223
|
+
var _result = _value;
|
|
224
|
+
|
|
225
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
226
|
+
Global.Free(_result);
|
|
227
|
+
|
|
228
|
+
return _resultString;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/// <summary>Gets the source type of this texture</summary>
|
|
232
|
+
/// <remarks>This is set internally by constructors and SetCollectionAndAssetId/SetEntityComponentId</remarks>
|
|
233
|
+
/// <returns>ETextureResourceType</returns>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
public Csp.Systems.ETextureResourceType GetSourceType()
|
|
237
|
+
{
|
|
238
|
+
var _value = csp_systems_TextureInfo_GetSourceTypeC_ETextureResourceType(_ptr);
|
|
239
|
+
|
|
240
|
+
var _result = _value;
|
|
241
|
+
|
|
242
|
+
return _result;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/// <summary>Sets the uv offset of the texture</summary>
|
|
246
|
+
/// <param name="Offset">Csp::common::vector2</param>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
public void SetUVOffset(Csp.Common.Vector2 Offset)
|
|
250
|
+
{
|
|
251
|
+
csp_systems_TextureInfo_SetUVOffset_void_Vector2(_ptr, Offset._ptr);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/// <summary>Gets the uv offset of the texture</summary>
|
|
255
|
+
/// <returns>Csp::common::vector2</returns>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
public Csp.Common.Vector2 GetUVOffset()
|
|
259
|
+
{
|
|
260
|
+
var _value = csp_systems_TextureInfo_GetUVOffsetC_Vector2(_ptr);
|
|
261
|
+
|
|
262
|
+
WrapperHelper.CheckNativePointer(_value);
|
|
263
|
+
|
|
264
|
+
var _result = new Csp.Common.Vector2(_value);
|
|
265
|
+
|
|
266
|
+
return _result;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/// <summary>Gets the uv rotation of the texture</summary>
|
|
270
|
+
/// <param name="Rotation">Float</param>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
public void SetUVRotation(float Rotation)
|
|
274
|
+
{
|
|
275
|
+
csp_systems_TextureInfo_SetUVRotation_void_float(_ptr, Rotation);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/// <summary>Gets the uv rotation of the texture</summary>
|
|
279
|
+
/// <returns>Float</returns>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
public float GetUVRotation()
|
|
283
|
+
{
|
|
284
|
+
var _value = csp_systems_TextureInfo_GetUVRotationC_float(_ptr);
|
|
285
|
+
|
|
286
|
+
var _result = _value;
|
|
287
|
+
|
|
288
|
+
return _result;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/// <summary>Sets the uv scale of the texture</summary>
|
|
292
|
+
/// <param name="Scale">Csp::common::vector2</param>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
public void SetUVScale(Csp.Common.Vector2 Scale)
|
|
296
|
+
{
|
|
297
|
+
csp_systems_TextureInfo_SetUVScale_void_Vector2(_ptr, Scale._ptr);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/// <summary>Gets the uv scale of the texture</summary>
|
|
301
|
+
/// <returns>Csp::common::vector2</returns>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
public Csp.Common.Vector2 GetUVScale()
|
|
305
|
+
{
|
|
306
|
+
var _value = csp_systems_TextureInfo_GetUVScaleC_Vector2(_ptr);
|
|
307
|
+
|
|
308
|
+
WrapperHelper.CheckNativePointer(_value);
|
|
309
|
+
|
|
310
|
+
var _result = new Csp.Common.Vector2(_value);
|
|
311
|
+
|
|
312
|
+
return _result;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/// <summary>Sets The set index of texture's TEXCOORD attribute</summary>
|
|
316
|
+
/// <remarks>used for texture coordinate mapping.</remarks>
|
|
317
|
+
/// <param name="Coord">Int</param>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
public void SetTexCoord(int Coord)
|
|
321
|
+
{
|
|
322
|
+
csp_systems_TextureInfo_SetTexCoord_void_int(_ptr, Coord);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/// <summary>Gets the index of texture's TEXCOORD attribute</summary>
|
|
326
|
+
/// <returns>Int</returns>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
public int GetTexCoord()
|
|
330
|
+
{
|
|
331
|
+
var _value = csp_systems_TextureInfo_GetTexCoordC_int(_ptr);
|
|
332
|
+
|
|
333
|
+
var _result = _value;
|
|
334
|
+
|
|
335
|
+
return _result;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/// <summary>True if this texture has been set for the current material</summary>
|
|
339
|
+
/// <returns>Bool</returns>
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
public bool IsSet()
|
|
343
|
+
{
|
|
344
|
+
var _value = csp_systems_TextureInfo_IsSetC_bool(_ptr);
|
|
345
|
+
|
|
346
|
+
var _result = _value;
|
|
347
|
+
|
|
348
|
+
return _result;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/// <summary>Sets if this texture is active for the current material</summary>
|
|
352
|
+
/// <remarks>This is true by default when a new texture is created</remarks>
|
|
353
|
+
/// <param name="Value">Bool</param>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
public void SetTexture(bool Value)
|
|
357
|
+
{
|
|
358
|
+
csp_systems_TextureInfo_SetTexture_void_bool(_ptr, Value);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
~TextureInfo()
|
|
362
|
+
{
|
|
363
|
+
//RealDispose();
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
void RealDispose()
|
|
367
|
+
{
|
|
368
|
+
if (_ownsPtr && !_disposed)
|
|
369
|
+
{
|
|
370
|
+
csp_systems_TextureInfo_Dtor(_ptr);
|
|
371
|
+
_disposed = true;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
_disposed = true;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
public void Dispose()
|
|
378
|
+
{
|
|
379
|
+
RealDispose();
|
|
380
|
+
GC.SuppressFinalize(this);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|